package com.manager.customer.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import com.manager.common.result.Result;
import com.manager.model.model.Customer;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Date;
import java.util.List;

public interface CustomerCustomerService extends IService<Customer> {

    //导出客户信息
    void exportCustomer(HttpServletResponse response);
    //分页查询客户信息
    Result<Page> getPage(int page, int pageSize, Integer id, String name, String city);
    //批量删除客户
    Result<String> deleteSellers(List<Integer> ids);
    //导入客户信息
    void importCustomer(MultipartFile file, Date beginTime, Date endTime);
}
